<template>
  <div class="flow-page-container">
    <Deal :options="{flowId: flowId, start: true}" />
  </div>
</template>

<script setup>
import { ref, provide } from 'vue';
import Deal from "@/flow/deal.vue";

const hash = window.location.hash;
const path = hash.split("/");
const menuId = ref(path[2]);
const flowId = ref(path[3]);

provide('menuId', menuId);
provide('permitMenuId', menuId);
</script>